package com.liruo.springframework.core.aop.designator.l1execute;

import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class ExecuteAspect {
  public static String returnAndStatus = null;
  @AfterReturning(
      value = "execution(* ExecuteTarget+.*())",
      returning = "rtv"
  )
  public void simple(String rtv){
    returnAndStatus = ExecuteAspect.class.getSimpleName() + rtv;
  }
}
